package com.huilian.iotbox.data.service.impl;

import com.huilian.iotbox.data.dao.LedgerMerchantCommonDao;
import com.huilian.iotbox.data.po.LedgerMerchant;
import com.huilian.iotbox.data.service.LedgerMerchantCommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LedgerMerchantCommonServiceImpl implements LedgerMerchantCommonService {

    @Autowired
    private LedgerMerchantCommonDao ledgerMerchantCommonDao;

    @Override
    public LedgerMerchant findOneByMerchantStoreIdAndFailureStatus(LedgerMerchant ledgerMerchantCondition) {
        return ledgerMerchantCommonDao.findOneByMerchantStoreIdAndFailureStatus(ledgerMerchantCondition);
    }
}
